Automattic\Jetpack\Publicize\REST_Controller S

Total Complexity 15
Dependencies 4
Dependents 2
Total lines 211
Lines of code 130
Logical lines of code 40
Comment lines 58
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
make_proper_response()
S
58 5 15
register_rest_routes()
S
43 1 60
share_post()
S
55 1 22
require_admin_privilege_callback()
S
64 2 10
get_blog_id()
S
79 2 3
__construct()
S
81 1 3
get_publicize_connection_test_results()
S
69 1 6
get_publicize_connections()
S
69 1 6
get_publicize_shares_count()
S
73 1 5